﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ContractorSnapshotUpload.aspx.cs" Inherits="MTRC.ODMS.Web.SOM.CodeSetup.ContractorSnapshotUpload" %>

<%@ Register Assembly="APJ.Web.UI.WebControls" Namespace="APJ.Web.UI.WebControls"
    TagPrefix="APJ" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="AjaxControlToolkit" %>
<%@ Register Src="~/UserControl/Menu/PageFoot.ascx" TagName="PageFoot" TagPrefix="WebStructure1" %>
<%@ Register Src="~/UserControl/Menu/TabStrip.ascx" TagName="TabStrip" TagPrefix="WebStructure2" %>
<%@ Register Src="~/UserControl/Menu/PageHead.ascx" TagName="PageHead" TagPrefix="WebStructure3" %>
<%@ Register Src="~/UserControl/Menu/MainMenu.ascx" TagName="MainMenu" TagPrefix="WebStructure4" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>Operational Data Management System</title>
    <link href="<%=ResolveUrl("~/CSS/common.css")%>" rel="stylesheet" type="text/css" />
    <link href="../../CSS/common.css" rel="stylesheet" type="text/css" />
    <link href="~/CSS/Menu.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
        <AjaxControlToolkit:ToolkitScriptManager ID="ToolkitScriptManager" runat="server">
        </AjaxControlToolkit:ToolkitScriptManager>
        <table border="0" cellpadding="0" cellspacing="0" class="Page_Container">
            <tr>
                <td colspan="2" class="Page_Head">
                    <WebStructure3:PageHead ID="PageHead" runat="server" />
                </td>
            </tr>
            <tr>
                <td class="Page_Left">
                    <WebStructure4:MainMenu ID="MainMenu" runat="server" AppPath="../../" CurrMenuID="M140916" />
                </td>
                <td class="Page_Right">
                    <table class="Page_Contents">
                        <tr>
                            <td class="TabStrip">
                                <WebStructure2:TabStrip ID="TabStrip" CurrMenuID="M140818" ParentMenuID="M140916" DMenuMode="CurrOnly"
                                    runat="server" />
                            </td>
                        </tr>
                        <tr>
                            <td class="Contents" style="height: 16px">
                                <!--**********context Begin *****************-->
                                                        <div>
                                                             <h3>
                                                                 <asp:Label ID="lblTitle" runat="server"></asp:Label>
                                                             </h3>
                                                        </div>
                                                        <div style="width:100%;">
                                                            <div style="float:left;"><asp:Label ID="lblFileUpload" runat="server"></asp:Label></div>
                                                            <div style="float:left;"><input id="fileUpload" style="width: 450px" type="file" runat="server">&nbsp;</div>
                                                            <div style="float:left;"><asp:Button ID="btnUpload" Text="Upload" runat="server" OnClick="btnUpload_Click"></asp:Button>&nbsp;&nbsp;</div>                                                            
                                                            <div style="float:left;"><asp:Button ID="btnDownTemplte" runat="server" OnClick="btnDownTemplte_Click" /></div>
                                                        </div>
                                                        <div>
                                                            <asp:Label ID="lblUploadNote" runat="server">Note: It's possible to occurring a download box after you uploaded the manhour data. Please open the file to check the upload error in red.</asp:Label>
                                                        </div>
                                                        <hr />
                                                        <div>
                                                            <table>
                                                                <tr>                                                            
                                                                    <td>
                                                                        <asp:Label ID="lblDownloadData" runat="server"></asp:Label>
                                                                        <asp:Button ID="btnDownMTR" Text="Download Data" runat="server" OnClick="btnDownMTR_Click">
                                                                        </asp:Button></td>
                                                                </tr>
                                                            </table>
                                                        </div>
                                <!--**********context End *****************-->
                            </td>
                        </tr>
                        <tr>
                            <td class="Page_Foot" style="height: 65px">
                                <WebStructure1:PageFoot ID="PageFoot" runat="server" />
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
